<div class="aside">
    <div class="profile">
        <img src="../uploads/avatar.jpg" alt="" class="avatar">
        <h3 class="name">Coder</h3>
    </div>
    <ul class="nav">
        <li class="active">
            <a href="./index.html">
                <i class="fa fa-dashboard"></i>
                仪表盘
            </a>
        </li>
        <li>
            <a href="#menu-posts" class="collapsed" data-toggle="collapse" aria-expanded="false">
                <i class="fa fa-thumb-tack"></i>
                文章
                <i class="fa fa-angle-right"></i>
            </a>
            <ul id="menu-posts" class="collapse" aria-expanded="false" style="height: 0px;">
                <li><a href="./posts.html">所有文章</a></li>
                <li><a href="./post-add.html">写文章</a></li>
                <li><a href="./categories.html">分类目录</a></li>
            </ul>
        </li>
        <li>
            <a href="./comments.html">
                <i class="fa fa-comments"></i>
                评论
            </a>
        </li>
        <li>
            <a href="./users.html">
                <i class="fa fa-users"></i>
                用户
            </a>
        </li>
        <li>
            <a href="#menu-settings" class="collapsed" data-toggle="collapse" aria-expanded="false">
                <i class="fa fa-cogs"></i>
                设置
                <i class="fa fa-angle-right"></i>
            </a>
            <ul class="collapse" id="menu-settings" aria-expanded="false" style="height: 0px;">
                <li><a href="./slides.html">图片轮播</a></li>
                <li><a href="./settings.html">网站设置</a></li>
            </ul>
        </li>
    </ul>
</div>
<script>
    // $('.aside li').click(function () {
    //     $(this).addClass('active').siblings('.active').removeClass('active');
    // })


</script>